package cn.com.yuuuu.mapper;

import cn.com.yuuuu.domain.User;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author: bhl
 * @Date: 2021/10/2
 * @Description: cn.com.yuuuu.mapper
 * @version: 1.0
 */
@Component
public interface UserMapper extends CrudRepository<User,String> {
    /**
     * 根据名称查找
     * @param bhl
     * @return
     */
    List<User> findByName(String bhl);

}
